//
//  CustomProgressView.h
//  circleProgress
//
//  Created by yangyang on 14-11-20.
//  Copyright (c) 2014年 yang. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CustomProgressView : UIView

-(void)setTrackLayerWithTrackColor:(CGColorRef)color
                   withRadius:(CGFloat)radius
                withStrokeLineWidth:(CGFloat)tracklineWidth
             withProgressLineWidth:(CGFloat)progressLineWidth
               withStartAngle:(CGFloat)startAngle
                 withEndAngle:(CGFloat)endAngle;

-(void)setProgressLayerWithProgressColor:(CGColorRef)color
                   withRadius:(CGFloat)radius
                withLineWidth:(CGFloat)lineWidth
               withStartAngle:(CGFloat)startAngle
                 withEndAngle:(CGFloat)endAngle
                    withStokeEnd:(CGFloat)progress;

-(void)addCenterView:(NSInteger)progress;

-(void)startProgressLayerAnimation:(CGFloat)progress;

@end
